package com.aspose.cells;

class zbjs extends zcj {
   zbjs(zn var1, float var2, float var3, zbkq var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      float var2 = var1.f();
      float var3 = var1.g();
      float var4 = var1.h();
      float var5 = var1.i();
      float var6 = 0.0F;
      float var7 = 0.0F;
      float var8 = 0.0F;
      float var9 = 0.0F;
      float var10 = 0.0F;
      float var11 = 0.0F;
      switch(this.e.l.a.size()) {
      case 1:
         if (((zak)this.e.l.a.get(0)).b() == 327) {
            var9 = var4 * (com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F);
            var10 = var4 * 0.40097222F;
            var11 = var5 * 0.20166667F;
         } else if (((zak)this.e.l.a.get(0)).b() == 328) {
            var9 = var4 * 0.29833335F;
            var10 = var4 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F;
            var11 = var5 * 0.20166667F;
         } else {
            var9 = var4 * 0.29833335F;
            var10 = var4 * 0.40097222F;
            var11 = var5 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F;
         }
         break;
      case 2:
         if (((zak)this.e.l.a.get(0)).b() == 327 && ((zak)this.e.l.a.get(1)).b() == 328) {
            var9 = var4 * (com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F);
            var10 = var4 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(1)).a()) / 21600.0F;
            var11 = var5 * 0.20166667F;
         } else if (((zak)this.e.l.a.get(0)).b() == 327 && ((zak)this.e.l.a.get(1)).b() == 329) {
            var9 = var4 * (com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F);
            var10 = var4 * 0.40097222F;
            var11 = var5 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(1)).a()) / 21600.0F;
         } else if (((zak)this.e.l.a.get(0)).b() == 328 && ((zak)this.e.l.a.get(1)).b() == 329) {
            var9 = var4 * 0.29833335F;
            var10 = var4 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F;
            var11 = var5 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(1)).a()) / 21600.0F;
         }
         break;
      case 3:
         var9 = var4 * (com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F);
         var10 = var4 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(1)).a()) / 21600.0F;
         var11 = var5 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(2)).a()) / 21600.0F;
         break;
      default:
         var9 = var4 * 0.30203703F;
         var10 = var4 * 0.40814814F;
         var11 = var5 * 0.20166667F;
      }

      var6 = var4 - var10 * 2.0F;
      var7 = (var4 - var9 * 2.0F) / 2.0F;
      float var12 = var4 / 2.0F - var7;
      float var14 = var6 / 2.0F;
      float var15 = var7 - var6 / 2.0F;
      float var16 = var4 / 2.0F - var14;
      com.aspose.cells.b.a.b.zo[] var17 = new com.aspose.cells.b.a.b.zo[]{new com.aspose.cells.b.a.b.zo(var2 + var12, var3 + var11), new com.aspose.cells.b.a.b.zo(var2 + var4 / 2.0F, var3), new com.aspose.cells.b.a.b.zo(var2 + var4 - var12, var3 + var11), new com.aspose.cells.b.a.b.zo(var2 + var4 - var16, var3 + var11), new com.aspose.cells.b.a.b.zo(var2 + var4 - var16, var3 + var5 / 2.0F - var14), new com.aspose.cells.b.a.b.zo(var2 + var4 - var11, var3 + var5 / 2.0F - var14), new com.aspose.cells.b.a.b.zo(var2 + var4 - var11, var3 + var5 / 2.0F - var14 - var15), new com.aspose.cells.b.a.b.zo(var2 + var4, var3 + var5 / 2.0F), new com.aspose.cells.b.a.b.zo(var2 + var4 - var11, var3 + var5 / 2.0F + var14 + var15), new com.aspose.cells.b.a.b.zo(var2 + var4 - var11, var3 + var5 / 2.0F + var14), new com.aspose.cells.b.a.b.zo(var2 + var4 - var16, var3 + var5 / 2.0F + var14), new com.aspose.cells.b.a.b.zo(var2 + var4 - var16, var3 + var5 - var11), new com.aspose.cells.b.a.b.zo(var2 + var4 - var12, var3 + var5 - var11), new com.aspose.cells.b.a.b.zo(var2 + var4 / 2.0F, var3 + var5), new com.aspose.cells.b.a.b.zo(var2 + var12, var3 + var5 - var11), new com.aspose.cells.b.a.b.zo(var2 + var12 + var15, var3 + var5 - var11), new com.aspose.cells.b.a.b.zo(var2 + var12 + var15, var3 + var5 / 2.0F + var14), new com.aspose.cells.b.a.b.zo(var2 + var11, var3 + var5 / 2.0F + var14), new com.aspose.cells.b.a.b.zo(var2 + var11, var3 + var5 / 2.0F + var14 + var15), new com.aspose.cells.b.a.b.zo(var2, var3 + var5 / 2.0F), new com.aspose.cells.b.a.b.zo(var2 + var11, var3 + var5 / 2.0F - var14 - var15), new com.aspose.cells.b.a.b.zo(var2 + var11, var3 + var5 / 2.0F - var14), new com.aspose.cells.b.a.b.zo(var2 + var12 + var15, var3 + var5 / 2.0F - var14), new com.aspose.cells.b.a.b.zo(var2 + var12 + var15, var3 + var11)};
      com.aspose.cells.b.a.b.a.ze var18 = new com.aspose.cells.b.a.b.a.ze();
      var18.b(var17);
      return var18;
   }
}
